﻿<UserControl x:Class="Debugger"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             xmlns:local="clr-namespace:CASI.UI"
             mc:Ignorable="d" 
             d:DesignHeight="176" d:DesignWidth="404">
    <Grid>
        <ListBox x:Name="UxScripts">
            <ListBox.ItemTemplate>
                <DataTemplate>
                    <local:ScriptDebugger Batch="{Binding RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type local:Debugger}}, Path=Batch}" />
                </DataTemplate>
            </ListBox.ItemTemplate>
        </ListBox>
        
    </Grid>
</UserControl>